package com.zw.yzk.kabu.management;

/**
 * Created by zhanwei on 2017/5/15.
 */

public class TempData {
    public static TempData instance;

    private int unReaDiMessage;

    private TempData() {

    }

    public static TempData getInstance() {
        if(instance == null) {
            synchronized (TempData.class) {
                instance = new TempData();
            }
        }
        return instance;
    }

    public static void setInstance(TempData instance) {
        TempData.instance = instance;
    }

    public int getUnReaDiMessage() {
        return unReaDiMessage;
    }

    public void setUnReaDiMessage(int unReaDiMessage) {
        this.unReaDiMessage = unReaDiMessage;
    }
}
